core: Validate file names read from directory variants
authorColin Walters <walters@verbum.org>
Thu, 17 Nov 2011 04:23:30 +0000 (23:23 -0500)
committerColin Walters <walters@verbum.org>
Thu, 17 Nov 2011 04:23:30 +0000 (23:23 -0500)
commitaa865bbb83c7e3f909a97b8ebccd024ee5b1afcc
tree1d666e016d54ebb84587eabc9556942c521c558f
parent4a26be1befefb05c67400247fcd381b103cf3985
core: Validate file names read from directory variants

In a future where we pull data from remote servers, we don't want
to allow path uplinks.
src/libostree/ostree-repo-file.c
src/libotutil/ot-unix-utils.c
src/libotutil/ot-unix-utils.h